//
//  CustomView.m
//  22作业
//
//  Created by dllo on 16/8/14.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomView.h"
#define width self.bounds.size.width
#define height self.bounds.size.height
@implementation CustomView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _imageView3 = [[UIImageView alloc] init];
        _label3 = [[UILabel alloc] init];
        _label4 = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews
{
    _imageView3.frame = CGRectMake(0, 0, width, height - 40);
    _label3.frame = CGRectMake(0, 40, width, 20);
    _label4.frame = CGRectMake(0, 60, width, 20);
    [self addSubview:_imageView3];
    [self addSubview:_label3];
    [self addSubview:_label4];
}

@end
